﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace KAKA.Models
{
    public class UserModel
    {
        [Required(ErrorMessage = "必填")]
        [Display(Name = "用户名")]
        public string Username { get; set; }
        [Required(ErrorMessage = "必填")]
        [Display(Name = "真实名字")]
        public string Realname { get; set; }
        [Required(ErrorMessage = "必填")]
        [DataType(DataType.EmailAddress)]
        [Display(Name = "电子邮件")]
        public string Email { get; set; }
    }
}